<script setup lang="ts">
import LocalSon from './LocalSon.vue';
</script>

<template>
    <h5>父组件</h5>
    <div class="box">
        <GlobalSon/>
        <LocalSon/>
    </div>
</template>
<style scoped>
    .box{
    display: flex;
    }
    h5{
        border: 1px dotted black;
    }
    :deep(.title){
        border: 3px dotted black;
    }
</style>